home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / arcid100.zip / ARCID.DOC < prev    next >
Text File  |  1992-09-18  |  13KB  |  313 lines

  1.  
  2.     ┌──────────────────────────────┐
  3.     │                              │
  4.     │  ╖────╖            ╖     ┐   │           Archive Identifier
  5.     │  ║    ║            ║     │   │
  6.     │  ║────╢ ┐──┐ ┌──┐  ║ ┌───│   │              Version 1.00
  7.     │  ║    ║ │    │     ║ │   │   │
  8.     │  ╜    ╜ ┘    └──┘  ╜ └───┘   │    (c) Copyright 1992 - Stacy Smith
  9.     │                              │
  10.     └──────────────────────────────┘
  11.  
  12.  
  13.                                 Courtesy of:
  14.  
  15.                         The Bloom Beacon-Picayune BBS
  16.           Node 1: (804) 525-9760 (USRobotics Courier Dual Standard)
  17.              Node 2: (804) 525-5372 (USRobotics Courier V.32bis)
  18.                               FidoNet 1:276/112
  19.                                   Intelec
  20.  
  21.                                 Stacy Smith
  22.                               Route 6 Box 189
  23.                            Forest, Virginia 24551
  24.  
  25.  
  26. ┌────────────────────┐
  27. │  1. Introduction:  │
  28. └────────────────────┘
  29.  
  30. Archive Identifier (ARCID) is a derivative of the UpLoadProcessor (ULP) system;
  31. users of ULP do not require this program, as each of the ULP programs have
  32. ARCID's abilities built into it.
  33.  
  34. ARCID is intended for use by people who wish to be able to accurately detect a
  35. archive's format without relying on the file extension, but do not wish to use
  36. ULP. These people may be sysops using EXZTEST, ZIPLAB, ZDCS, FWKCS, etc., or
  37. may be using their own homemade batch files for testing archives, or even other
  38. purposes I haven't thought of.
  39.  
  40. Regardless, ARCID is an extremely simple and fast tool for people who deal with
  41. compressed files on a regular basis.
  42.  
  43.  
  44. ┌──────────────────────────────────────┐
  45. │  2. Features of Archive Identifier:  │
  46. └──────────────────────────────────────┘
  47.  
  48.       ∙ Identifies ARC, ARJ, HYP, LZH, PAK, ZIP, ZOO and GIF files, regardless
  49.         of their file extensions (ideal for software distribution networks,
  50.         like .SDN files).
  51.       ∙ Identifies ARJ, LZH, PAK and ZIP self-extracting (SFX) archives.
  52.       ∙ Can filter other file types based solely upon file extension.
  53.       ∙ A total of 97 archive formats and files extensions can be defined for
  54.         conditional branching of batch files.
  55.       ∙ Fully network-aware using DOS SHARE-compatible locks.
  56.       ∙ Written mostly in C (and a little assembler) for optimal speed, using
  57.         Borland C++ 3.1 and Turbo Assembler 3.1.
  58.       ∙ Lifetime registration; pay ONCE and your registration number will work
  59.         on all future versions!
  60.  
  61.  
  62. ┌───────────────────────────────────────────────────────┐
  63. │  3. Files Included in the ARCID Distribution Archive  │
  64. └───────────────────────────────────────────────────────┘
  65.  
  66.         ARCID.COM       Archive Identifier processing program.
  67.         ARCID.DOC       This file.
  68.         PCBTEST.BAT     Sample PCBTEST.BAT file for using ARCID.
  69.         HISTORY.TXT     ARCID revision history in reverse order.
  70.         REGISTER.FRM    Registration form for ARCID.
  71.         FILE_ID.DIZ     Internal description file.
  72.  
  73. When you unzip the distribution archive, you should see my PKZIP authenticity
  74. verification stamp, and a '-AV' after every file in the archive:
  75.  
  76.         # SSU301    The Bloom Beacon-Picayune BBS
  77.  
  78. If there are any files missing or added, or the -AV stamp is missing, the
  79. archive has been tampered with. It would be advisable to call my BBS (listed at
  80. the top of this document) for the latest version of ARCID.
  81.  
  82.  
  83. ┌───────────────────────────┐
  84. │  4. Program Requirements  │
  85. └───────────────────────────┘
  86.  
  87. To the best of my knowledge, this program will run on most any machine capable
  88. of running PCBoard 14.5+. I have personally tested and developed ARCID on the
  89. following machines, with no problems:
  90.  
  91.         10 MHz 80286 computer (CompuAdd) with:
  92.            ∙ 1 megabyte of motherboard memory with a 2 megabyte EMS card
  93.            ∙ 42 megabytes of MFM hard disk space
  94.            ∙ MS-DOS 5.0 with 4DOS 4.01 command interpreter
  95.            ∙ CGA graphics subsystem
  96.  
  97.         33 MHz 80486 computer (CompuAdd Express) with:
  98.            ∙ PCBoard 14.5a/10
  99.            ∙ 12 megabytes of motherboard memory
  100.            ∙ 245 megabytes of IDE hard disk space
  101.            ∙ MS-DOS 5.0 with 4DOS 4.01 command interpreter
  102.            ∙ SVGA graphics subsystem
  103.  
  104. Other sysops that I have been in contact with have successfully implemented
  105. ARCID on setups with CD-ROMs, networks (Ethernet and LANtastic) and other
  106. varying hardware.
  107.  
  108. ARCID has been developed and tested using archives created by the following
  109. archiving packages:
  110.  
  111.         ARJ 2.30 (by Robert Jung)
  112.         ARJ 2.39a (by Robert Jung)
  113.         HYPER 2.5 (by P. Sawatzki and K. P. Nischke)
  114.         LHA 2.13 (by Haruyasu Yoshizaki)
  115.         LHarc 1.13c (by Haruyasu Yoshizaki)
  116.         PAK 2.51 (by NoGate Consulting)
  117.         PKPAK 3.61 (by PKWare)
  118.         PKZIP 1.10 (by PKWare)
  119.         PKZIP 1.93 Alpha (by PKWare)
  120.         ZOO 2.10 (by Rahul Deshi)
  121.  
  122. The ARCID system requires DOS 3.x or later, as it uses DOS SHARE-compatible
  123. file reads and writes.
  124.  
  125. ARCID's memory requirements are extremely small (less than 64K). It would be a
  126. good idea to have as much free conventional memory as possible (ARCID itself
  127. cannot use EMS or XMS memory, and really couldn't use it if I wanted it to).
  128.  
  129.  
  130. ┌───────────────────┐
  131. │  5. Registration  │
  132. └───────────────────┘
  133.  
  134. The ARCID system is not free; nor is ARCID is crippled to force registration.
  135. ARCID is fully functional, and will always remain so. The only variation with
  136. the registered copies is no beg message.
  137.  
  138. Why register? Besides a clean conscience, you will get a registration code that
  139. will work for all future versions of ARCID, and will remove the message at the
  140. end of execution of ARCID.
  141.  
  142. Also, registered users get a large time limit and unlimited downloading from
  143. my BBS, if they choose to do so...
  144.  
  145. The registration fee for your unique code is $5 for non-commercial BBSes. The
  146. registration fee for commercial BBSes, defined if you run your BBS in the
  147. course of a commercial business, or your if BBS turns a profit, is $10. Other
  148. variations are available; refer to the file REGISTER.FRM for all registration
  149. options. Please print the file REGISTER.FRM and fill it out. You can print out
  150. the form by issuing the following command from the DOS prompt:
  151.  
  152.         TYPE REGISTER.FRM > PRN
  153.  
  154.  
  155. ┌───────────────────────────────────────┐
  156. │  6. License, Warranty and Disclaimer  │
  157. └───────────────────────────────────────┘
  158.  
  159. I'll keep this part short and sweet, and dispense with the legal-ese:
  160.  
  161.     License: You are allowed to use ARCID for 30 days, after which you must
  162.         either register ARCID or stop using it completely. ARCID registration
  163.         is a license for your use of ARCID; I retain ownership of the software.
  164.         A single registration applies to a single BBS system, regardless of the
  165.         number of computers used in the system. If you run two or more distinct
  166.         BBS systems on the same computer (with different names), you require
  167.         two or more ARCID registrations. Refer to the registration form for the
  168.         currect pricing structure.
  169.  
  170.     Warranty: There isn't one. The only thing I'll guarantee is that ARCID will
  171.         take up disk space, and will disappear when deleted.
  172.  
  173.     Disclaimer: I'm not responsible for anything bad that happens. ARCID works
  174.         here, but I cannot be held responsible for it not working on your
  175.         computer or doing any damage to hardware or software.
  176.  
  177. If these aren't agreeable with you, then the best thing to do is delete ARCID
  178. right now. I'll do my best to help any user (registered or not) that wants to
  179. use ARCID, and I'll act on bug reports quickly, but I simply cannot and will
  180. not be responsible for anything bad, like lost data, disk crashes, or whatever
  181. else you can think of.
  182.  
  183.  
  184. ┌───────────────────┐
  185. │  7. Installation  │
  186. └───────────────────┘
  187.  
  188. GENERAL:
  189. ────────
  190. Copy the file ARCID.COM into a subdirectory that is included in the DOS path,
  191. so that ARCID may be executed from anywhere. I would suggest your PCB home
  192. directory, usually 'C:\PCB\'.
  193.  
  194. If you are running PCBoard under a network or a multitasking operating system,
  195. you should already have DOS's SHARE.EXE loaded. You must have SHARE loaded in
  196. order to take advantage of the file sharing and locking methods used by the
  197. ARCID program to prevent data loss. (If you are running a single-node system
  198. without a multitasker, SHARE is not needed).
  199.  
  200. Note that for the ARCID program, you can obtain a limited program syntax screen
  201. simply by executing the program with no arguments.
  202.  
  203. FOR UPLOAD TESTING USING 'PCBTEST.BAT':
  204. ───────────────────────────────────────
  205. NOTE: If you are unfamiliar with the operation of PCBTEST.BAT, you will need
  206. to refer to the PCBoard manual on pages 200-202 for an explanation of
  207. PCBTEST.BAT and TESTFILE.EXE.
  208.  
  209. As necessary, refer to the sample PCBTEST.BAT file included in this
  210. archive. This simple batch file will test archive integrity and check for
  211. viruses for any of the detectable formats of ARCID. This batch file can
  212. easily be expanded to perform more tests.
  213.  
  214. ARCID.COM is a drop-in replacement of PCBoard's TESTFILE.EXE. If you are
  215. already using TESTFILE.EXE, then simply replace the TESTFILE command in your
  216. batch file with ARCID. For example, if your current PCBTEST.BAT has the
  217. following line:
  218.  
  219.     TESTFILE %1 ZIP ARJ LZH GIF
  220.  
  221. simply change it to:
  222.  
  223.     ARCID %1 ZIP ARJ LZH GIF
  224.  
  225. ARCID will return a DOS errorlevel corresponding to the archive's position in
  226. the extension list. ARCID is capable of automatically detecting the formats
  227. identified by the following extensions, regardless of the file's true
  228. extension:
  229.  
  230.     ARC     for ARC/PKPAK archives
  231.     ARJ     for ARJ and ARJ self-extracting archives
  232.     GIF     for GIF files
  233.     HYP     for HYPER archives
  234.     LZH     for LHA/LHARC and LHA/LHARC self-extracting archives
  235.     PAK     for PAK and PAK self-extracting archives
  236.     ZIP     for PKZIP and PKZIP self-extracting archives
  237.     ZOO     for ZOO version 2.x archives
  238.  
  239. Do not add 'EXE' to the extension list; ARCID will automatically return to
  240. corresponding errorlevel for an identified self-extracting archive.
  241.  
  242.  
  243. ┌───────────────────────────────────────────┐
  244. │  8. Branding with Your Registration Code  │
  245. └───────────────────────────────────────────┘
  246.  
  247. To brand the ARCID executable with your registration code, type the following
  248. command from the DOS prompt:
  249.  
  250.     ARCID BRAND
  251.  
  252. ARCID will then ask you for your registration information (sysop name, BBS
  253. name and registration code). All of this information is case sensitive; you
  254. must enter it exactly as provided to you. After completion, ARCID will insert
  255. the codes inside of the executable, and the beg message will go away.
  256.  
  257. * NOTE: Do not attempt the brand an ARCID.COM executable that has been
  258.         compressed with PKLITE! This will corrupt the file, and may cause
  259.         ARCID to not function properly.
  260.  
  261.  
  262. ┌──────────────┐
  263. │  9. Support  │
  264. └──────────────┘
  265.  
  266. If you require support for ARCID, I can be contacted by any of the following
  267. means:
  268.  
  269.     ∙ Fidonet Netmail addressed to Stacy Smith, node 1:276/112 (aka 1:276/100)
  270.     ∙ Intelec Shareware conference
  271.     ∙ Intelec PCBoard conference
  272.     ∙ The ULP support conference (#42) on Salt Air (PCBoard support BBS)
  273.     ∙ The Support conference (#2) on my BBS (listed at the top of this
  274.         document).
  275.  
  276.  
  277. ┌───────────────────────────┐
  278. │  10. The Future of ARCID  │
  279. └───────────────────────────┘
  280.  
  281. ARCID will be supported as long as I'm in the BBSing business (which will be
  282. quite a while...once it's in your blood, you can never shake it <grin>). The
  283. ARCID system will be rapidly expanding it's features; some current plans:
  284.  
  285.       ∙ Incorporate code to detect archives containing explicit paths.
  286.       ∙ Incorporate code to detect defective or hacked archives.
  287.  
  288. If you have any other suggestions, or want other archivers supported, please
  289. contact me by U.S. snail-mail or on my BBS at the number at the top of this
  290. document.
  291.  
  292. Thanks for giving ARCID a try!
  293.  
  294.  
  295. ┌────────────────────────────────┐
  296. │  Appendix A:  DOS Errorlevels  │
  297. └────────────────────────────────┘
  298.  
  299. The errorlevels returned to DOS by the ARCID system programs are consistent
  300. among all of the programs (primarily with the error conditions); the following
  301. is a list of the errorlevels than can be returned by the ARCID programs, along
  302. with which programs return the codes:
  303.  
  304.         0       Successful brand of the ARCID executable
  305.         1-97    Successful execution, archive identified
  306.         98      Successful execution, archive NOT identified
  307.         99      Unsuccessful execution, no arguments passed (help screen
  308.                    displayed)
  309.         101     Unsuccessful brand of the ARCID executable
  310.         110     Unable to allocate heap memory
  311.         112     Invalid registration code
  312.         115     Invalid filename provided by user on command-line
  313.